package com.sophia.common.util;

import org.apache.commons.lang.StringUtils;


public class CommonTest {
	public static void main(String[] args) {
		String a = "userNumer=3expirationDate=2010-12-30machineCode=0-31-60-71--8--4";
	
       
		int userNumer = a.indexOf("userNumer");
		int expirationDate = a.indexOf("expirationDate");
		int machineCode = a.indexOf("machineCode");
		
		String userNumers = a.substring(userNumer + 10,expirationDate);
		String expirationDates = a.substring(expirationDate + 15,machineCode);
		String machineCodes = a.substring(machineCode + 12);
		System.out.println(userNumers + " " + expirationDates + " " + machineCodes);

	}
}
